package com.tsd.jxc.sale.dao;

import com.tsd.common.vo.BatchDeleteLogicVo;
import com.tsd.core.vo.PageBean;
import com.tsd.jxc.sale.entity.JxcSaleQuotationDetail;
import com.tsd.jxc.sale.entity.JxcSaleQuotationDetailExt;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 描述：JxcSaleQuotationDetailMapper
 *
 * @author Hillpool
 * @date 2022/12/12 11:26:43
 */
public interface JxcSaleQuotationDetailMapper {

    JxcSaleQuotationDetail selectByPrimaryKey(Long id);

    JxcSaleQuotationDetailExt selectBySid(String sid);

    int deleteByPrimaryKey(Long id);

    int insert(JxcSaleQuotationDetail record);

    int insertSelective(JxcSaleQuotationDetail record);

    int insertList(@Param("list") List<JxcSaleQuotationDetailExt> list);

    int updateByPrimaryKey(JxcSaleQuotationDetail record);

    int updateByPrimaryKeySelective(JxcSaleQuotationDetail record);

    int updateList(@Param("list") List<JxcSaleQuotationDetailExt> list);

    List<JxcSaleQuotationDetailExt> selectByEntity(JxcSaleQuotationDetailExt record);

    List<JxcSaleQuotationDetailExt> selectByPage(@Param("params") Map<String, Object> params, @Param("page") PageBean page);

    List<JxcSaleQuotationDetailExt> selectCount1Page(@Param("params") Map<String, Object> params, @Param("page") PageBean page);

    List<JxcSaleQuotationDetailExt> selectByParams(@Param("params") Map<String, Object> params);

    int deleteLogicByIdList(BatchDeleteLogicVo logicVo);

    int deleteLogicByQuotationList(BatchDeleteLogicVo logicVo);
}